#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<math.h>
int main()
{
	double a, b, c,dea,n1,n2;
	scanf("%lf%lf%lf", &a, &b, &c);
	dea = b * b - 4 * a * c;
	n1 = (-b + sqrt(dea)) /(2 * a);
	n2 = (-b - sqrt(dea)) / (2 * a);
	printf("n1=%lf\n", n1);
	printf("n2=%lf\n", n2);

}